package com.housekeeping.dao;

import com.housekeeping.model.HousekeepingService;
import java.util.List;

/**
 * 家政服务数据访问接口
 */
public interface HousekeepingServiceDAO {
    
    HousekeepingService findById(Integer serviceId);
    
    List<HousekeepingService> findAll();
    
    List<HousekeepingService> findByCategoryId(Integer categoryId);
    
    List<HousekeepingService> findByStatus(Integer status);
    
    List<HousekeepingService> findAvailableServices();
    
    List<HousekeepingService> searchByKeyword(String keyword);
    
    int insert(HousekeepingService service);
    
    int update(HousekeepingService service);
    
    int delete(Integer serviceId);
    
    int updateStatus(Integer serviceId, Integer status);
    
    long count();
} 